<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>新建模型 - 模型管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		function page(n,s){
        	location = '${ctx}/act/model/?pageNo='+n+'&pageSize='+s;
        }
		function upload(){
			alert("充值成功");
			document.getElementById("inputform").submit();
		}
	</script>
	<style type="text/css">
		.getMargin{
				margin:0 auto;
		}
	</style>
</head>
<body>
<ul class="nav nav-tabs">
		<li><a href="${ctx}/owner/tenement/findAllOwner">用户列表</a></li>
		<li class="active"><a href="${ctx}/owner/tenement/payForm?id=${owner.id}">用户充值 </a></li>
	</ul>
	<div class="getMargin">
		<form:form id="inputform" modelAttribute="owner" action="${ctx }/owner/tenement/Pay" method="post">
		<table id="contentTable">
			<h4>
			<tr><td><label>请输入充值金额:</label></td><td><form:input path="balance" type="text" class="small input"/></td></tr>
			
			<tr><td><input id="btnSubmit" class="btn btn-primary"  type="bottom" onclick="upload()" value="提交"/></td>
			<form:hidden path="id" value="${owner.id }"/>
			</tr>
			</h4>
		</table>
		</form:form>
	</div>
</body>
</html>
